]> granicus.if.org Git - curl/commit
openssl: avoid BN_print a NULL bignum
authorDaniel Stenberg <daniel@haxx.se>
Tue, 26 Apr 2016 21:55:31 +0000 (23:55 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 26 Apr 2016 21:55:31 +0000 (23:55 +0200)
commitab691309cee98d0cd5d7a44d8c8d514de6dfce66
tree035429dc4b34f33e5ffd6a77fd3469a322e9236e
parentc2b3f264cb5210f82bdc84a3b89250a611b68dd3
openssl: avoid BN_print a NULL bignum

OpenSSL 1.1.0-pre seems to return NULL(?) for a whole lot of those
numbers so make sure the function handles this.

Reported-by: Linus Nordberg
lib/vtls/openssl.c