openbsd-ports/devel/opencm/patches/patch-base_src_common_PubKey_c
kili 533c7253f3 Fix after openssl update.
ok sthen@

ps: i leave any comments about the stupidity of STACK_OF to marco@ ;-)
2010-10-03 21:36:58 +00:00

13 lines
431 B
Plaintext

$OpenBSD: patch-base_src_common_PubKey_c,v 1.1 2010/10/03 21:36:58 kili Exp $
--- base/src/common/PubKey.c.orig Thu Jun 19 03:55:04 2003
+++ base/src/common/PubKey.c Sun Oct 3 21:41:11 2010
@@ -289,7 +289,7 @@ pubkey_GetEmail(PubKey *pk)
case pk_X509:
{
X509 *x = pk->keys.x509_cert;
- STACK* emails;
+ STACK_OF(OPENSSL_STRING) *emails;
const char* email = 0;
emails = X509_get1_email(x);