pkgsrc/mail/re-alpine/patches/patch-pith_smkeys.c
wiz 02bc061912 Update to 2.02, provided by Uwe Klaus in PR 46025. Ok reed@ (maintainer)
Changes since 2.01 not found.

Package changes:
Enable S/MIME support per default.
Add patch for openssl in NetBSD-5.99*.
2012-04-18 20:50:21 +00:00

13 lines
460 B
C

$NetBSD: patch-pith_smkeys.c,v 1.1 2012/04/18 20:50:21 wiz Exp $
--- pith/smkeys.c.orig 2012-02-14 13:27:14.000000000 +0000
+++ pith/smkeys.c
@@ -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;