[openssl/openssl] 959c15: Fix incorrect ERR_raise() calls

Theo Buehler noreply at github.com
Mon Jun 12 06:28:05 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 959c150a1dcc4535c2d94ac6f3310566723911f1
      https://github.com/openssl/openssl/commit/959c150a1dcc4535c2d94ac6f3310566723911f1
  Author: Theo Buehler <tb at openbsd.org>
  Date:   2023-06-12 (Mon, 12 Jun 2023)

  Changed paths:
    M crypto/x509/v3_purp.c

  Log Message:
  -----------
  Fix incorrect ERR_raise() calls

A few ERR_raise() calls in v3_purp.c use the wrong library. For example,
in OpenSSL 3.1.1 we get

00000000:error:0580009E:x509 certificate routines:ossl_x509v3_cache_extensions:reason(158):crypto/x509/v3_purp.c:635:

instead of

00000000:error:1100009E:X509 V3 routines:ossl_x509v3_cache_extensions:invalid certificate:crypto/x509/v3_purp.c:635:

Reviewed-by: Todd Short <todd.short at me.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21168)




More information about the openssl-commits mailing list