alpine/re-alpine-2.02-openssl.patch
2010-10-08 14:51:19 -05:00

12 lines
538 B
Diff

diff -up re-alpine-2.02/pith/smkeys.c.openssl re-alpine-2.02/pith/smkeys.c
--- re-alpine-2.02/pith/smkeys.c.openssl 2010-10-02 03:37:57.000000000 -0500
+++ re-alpine-2.02/pith/smkeys.c 2010-10-08 14:44:57.068382616 -0500
@@ -277,7 +277,7 @@ char *
get_x509_subject_email(X509 *x)
{
char *result = NULL;
-#if OPENSSL_VERSION_NUMBER >= 0x1000000f /* OpenSSL 1.0.0 */
+#if OPENSSL_VERSION_NUMBER >= 0x10000000L /* OpenSSL 1.0.0 */
STACK_OF(OPENSSL_STRING) *emails;
#else /* OpenSSL 0.x and 1.0.0-dev/beta */
STACK *emails;