]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/x509v3/v3_pci.c
Make string_to_hex/hex_to_string public
[thirdparty/openssl.git] / crypto / x509v3 / v3_pci.c
index 75bed9f4af7dc3de3ddaeb29e452411e51354c93..cadedef62969c54fad307fc720b9bfeb80570900 100644 (file)
@@ -119,11 +119,9 @@ static int process_pci_value(CONF_VALUE *val,
         }
         if (strncmp(val->value, "hex:", 4) == 0) {
             unsigned char *tmp_data2 =
-                string_to_hex(val->value + 4, &val_len);
+                OPENSSL_hexstr2buf(val->value + 4, &val_len);
 
             if (!tmp_data2) {
-                X509V3err(X509V3_F_PROCESS_PCI_VALUE,
-                          X509V3_R_ILLEGAL_HEX_DIGIT);
                 X509V3_conf_err(val);
                 goto err;
             }