Commit 01255d7529 for openssl.org
commit 01255d7529cd1db9755b661978850faba42b87fb
Author: Sam Millman <sam5346@rit.edu>
Date: Thu Apr 3 13:08:32 2025 -0400
Corrected Blowfish CBC OID number, fixes issue #25289
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Merge-date: Mon Nov 23 23:10:21 2026
Merged-from: https://github.com/openssl/openssl/pull/33911
diff --git a/crypto/objects/objects.txt b/crypto/objects/objects.txt
index ac1510bff4..bbdb837c9a 100644
--- a/crypto/objects/objects.txt
+++ b/crypto/objects/objects.txt
@@ -473,7 +473,7 @@ ms-corp 21 10 : ms-app-policies : Microsoft Application Policies Extension
!Cname idea-ofb64
: IDEA-OFB : idea-ofb
-1 3 6 1 4 1 3029 1 2 : BF-CBC : bf-cbc
+1 3 6 1 4 1 3029 1 1 2 : BF-CBC : bf-cbc
: BF-ECB : bf-ecb
!Cname bf-cfb64
: BF-CFB : bf-cfb
diff --git a/fuzz/oids.txt b/fuzz/oids.txt
index d1b43a7dc8..d351bb0935 100644
--- a/fuzz/oids.txt
+++ b/fuzz/oids.txt
@@ -84,7 +84,7 @@ OBJ_basic_constraints="\x55\x1D\x13"
OBJ_crl_number="\x55\x1D\x14"
OBJ_certificate_policies="\x55\x1D\x20"
OBJ_authority_key_identifier="\x55\x1D\x23"
-OBJ_bf_cbc="\x2B\x06\x01\x04\x01\x97\x55\x01\x02"
+OBJ_bf_cbc="\x2B\x06\x01\x04\x01\x97\x55\x01\x01\x02"
OBJ_mdc2="\x55\x08\x03\x65"
OBJ_mdc2WithRSA="\x55\x08\x03\x64"
OBJ_givenName="\x55\x04\x2A"
diff --git a/providers/implementations/include/prov/names.h b/providers/implementations/include/prov/names.h
index 2036fca81e..3793232e8a 100644
--- a/providers/implementations/include/prov/names.h
+++ b/providers/implementations/include/prov/names.h
@@ -184,7 +184,8 @@
#define PROV_NAMES_CAST5_OFB "CAST5-OFB"
#define PROV_NAMES_CAST5_CFB "CAST5-CFB"
#define PROV_NAMES_BF_ECB "BF-ECB"
-#define PROV_NAMES_BF_CBC "BF-CBC:BF:BLOWFISH:1.3.6.1.4.1.3029.1.2"
+/* keep the old incorrect blowfish OID as an alias for compatibility */
+#define PROV_NAMES_BF_CBC "BF-CBC:BF:BLOWFISH:1.3.6.1.4.1.3029.1.1.2:1.3.6.1.4.1.3029.1.2"
#define PROV_NAMES_BF_OFB "BF-OFB"
#define PROV_NAMES_BF_CFB "BF-CFB"
#define PROV_NAMES_IDEA_ECB "IDEA-ECB"