Jeremy Harris jgh at
Sun Dec 5 22:35:01 UTC 2021

The docs at

say "returns 0 to indicate the callback function was set"

The code (6d770c5ba36d43f4):

  int SSL_CTX_set_tlsext_ticket_key_evp_cb
     (SSL_CTX *ctx, int (*fp)(SSL *, unsigned char *, unsigned char *,
                              EVP_CIPHER_CTX *, EVP_MAC_CTX *, int))
     ctx->ext.ticket_key_evp_cb = fp;
     return 1;

(I suspect from my application code comments that
  SSL_CTX_set_tlsext_ticket_key_cb()  may suffer the same)

More information about the openssl-users mailing list