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

File patch-alpine-smkeys.c.diff, 437 bytes (added by todmorrison (Tod Morrison), 14 years ago)

Patch to fix smkeys.c openssl problems

  • re-alpine-2.01/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));