Add a CHANGES for OSSL_STORE_INFO_get_type()
authorMatt Caswell <matt@openssl.org>
Mon, 8 Mar 2021 16:18:26 +0000 (16:18 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 10 Mar 2021 16:02:35 +0000 (16:02 +0000)
The function OSSL_STORE_INFO_get_type() may now return a new object
type. Applications may have to be amended accordingly.

Fixes #14446

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14465)

CHANGES.md
doc/man3/OSSL_STORE_INFO.pod

index 6c64fbc87bbeda5897f53309233bcfcd676f4e3e..695e43dfefa6dd0fbb75be70f81a9a2ddfb64e3c 100644 (file)
@@ -23,6 +23,16 @@ OpenSSL 3.0
 
 ### Changes between 1.1.1 and 3.0 [xx XXX xxxx]
 
+ * OSSL_STORE_INFO_get_type() may now return an additional value. In 1.1.1
+   this function would return one of the values OSSL_STORE_INFO_NAME,
+   OSSL_STORE_INFO_PKEY, OSSL_STORE_INFO_PARAMS, OSSL_STORE_INFO_CERT or
+   OSSL_STORE_INFO_CRL. Decoded public keys would previously have been reported
+   as type OSSL_STORE_INFO_PKEY in 1.1.1. In 3.0 decoded public keys are now
+   reported as having the new type OSSL_STORE_INFO_PUBKEY. Applications
+   using this function should be amended to handle the changed return value.
+
+   *Richard Levitte*
+
  * The implementation of the EVP ciphers CAST5-ECB, CAST5-CBC, CAST5-OFB,
    CAST5-CFB, BF-ECB, BF-CBC, BF-OFB, BF-CFB, IDEA-ECB, IDEC-CBC, IDEA-OFB,
    IDEA-CFB, SEED-ECB, SEED-CBC, SEED-OFB, SEED-CFB, RC2-ECB, RC2-CBC,
index 070b325a2d1cdbfe54fb8d6db91d1bef543adba7..47882b002dafe54f203efc4aacbcb5d0a7b1eefe 100644 (file)
@@ -217,6 +217,8 @@ L<ossl_store(7)>, L<OSSL_STORE_open(3)>, L<OSSL_STORE_register_loader(3)>
 
 The OSSL_STORE API was added in OpenSSL 1.1.1.
 
+The OSSL_STORE_INFO_PUBKEY object type was added in OpenSSL 3.0.
+
 =head1 COPYRIGHT
 
 Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.