[openssl/openssl] 7a03a6: Fix incorrect ERR_raise() calls

Theo Buehler noreply at github.com
Mon Jun 12 06:31:08 UTC 2023


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 7a03a608d70dbf4098b111c9f7e98bdc456e7e67
      https://github.com/openssl/openssl/commit/7a03a608d70dbf4098b111c9f7e98bdc456e7e67
  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)

(cherry picked from commit 959c150a1dcc4535c2d94ac6f3310566723911f1)




More information about the openssl-commits mailing list