mpeylo / cmpossl

An OpenSSL-based implementation of the Certificate Management Protocol (CMP), defined in IETF RFCs 4210, 4211, and 6712. It is being extended according to the emerging RFCs 'CMP Updates' (CMPv3), 'CMP Algorithms', and 'Lightweight CMP Profile'.
https://github.com/mpeylo/cmpossl/wiki
Other
35 stars 13 forks source link

OpenSSL internal refcount error on BIO_free(ctx->tlsBIO) #54

Closed tpank closed 6 years ago

tpank commented 6 years ago

A refcount error is ofter produced causing a crash deleting the CMP ctx when TLS has been used. This apparently is due to some OpenSSL-internal curruption of chained HTTP and TLS BIOs.

Reported by: DDVO

Original Ticket: cmpforopenssl/bugs/57

tpank commented 6 years ago

The typical console output of the app is (at exit, after saving received certificates etc.):

crypto/bio/bio_lib.c:122: OpenSSL internal error: refcount error
Aborted (core dumped)

Original comment by: DDVO

DDvO commented 6 years ago

A fix is meanwhile internally available.