blob: 1b971d236b97c4049672e13a265354bbec8d840b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
$NetBSD: patch-ec,v 1.1 2010/09/10 03:29:01 taca Exp $
* r18172: suppress warnings.
* r26835: backport fixes in 1.9.
* r26838: backport the commit from trunk.
--- ext/openssl/ossl.h.orig 2010-06-21 09:18:59.000000000 +0000
+++ ext/openssl/ossl.h
@@ -114,10 +114,19 @@ extern VALUE eOSSLError;
#define STACK _STACK
#endif
+#if 0
+/*
+ * Compatibility
+ */
+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+#define STACK _STACK
+#endif
+#endif
+
/*
* String to HEXString conversion
*/
-int string2hex(char *, int, char **, int *);
+int string2hex(const unsigned char *, int, char **, int *);
/*
* Data Conversion
|