Ticket #25428: patch-alpine-smkeys.c.2.diff

File patch-alpine-smkeys.c.2.diff, 407 bytes (added by someuser12, 14 years ago)

Patch to fix smkeys.c openssl problems, to pith/smkeys.c rather than to re-alpine-2.01/pith/smkeys.c

  • pith/smkeys.c

    old new  
    277277get_x509_subject_email(X509 *x)
    278278{
    279279    char *result = NULL;
    280     STACK *emails = X509_get1_email(x);
     280    STACK_OF(OPENSSL_STRING) *emails = X509_get1_email(x);
    281281    if (sk_num(emails) > 0) {
    282282        /* take the first one on the stack */
    283283        result = cpystr(sk_value(emails, 0));