]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Enclose in extern "C" (from Debian bug #163394).
authorAndrew McDonald <admcd@gnutls.org>
Sat, 12 Oct 2002 12:16:16 +0000 (12:16 +0000)
committerAndrew McDonald <admcd@gnutls.org>
Sat, 12 Oct 2002 12:16:16 +0000 (12:16 +0000)
includes/gnutls/openssl.h

index e60ee139df6133e71cbab271ae727c4c57f4d9d2..6007818e08678f37762c55da3fe872df39c10b63 100644 (file)
 
 #ifndef GNUTLS_OPENSSL_H
 #define GNUTLS_OPENSSL_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include <gnutls/gnutls.h>
 #include <gcrypt.h>
 
@@ -283,4 +288,8 @@ void RIPEMD160_Update(RIPEMD160_CTX *ctx, const void *buf, int len);
 void RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *ctx);
 unsigned char *RIPEMD160(const unsigned char *buf, unsigned long len,
                          unsigned char *md);
+
+#ifdef __cplusplus
+}
+#endif
 #endif