x509asn1: fallback to dotted OID representation

Reported-by: Luke Hamburg
Fixes #13845
Closes #13858
This commit is contained in:
Bo Anderson 2024-06-02 14:18:20 +01:00 committed by Daniel Stenberg
parent 6a7ad8911d
commit 9aa1d412b8
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -469,7 +469,7 @@ static CURLcode OID2str(struct dynbuf *store,
if(op) if(op)
result = Curl_dyn_add(store, op->textoid); result = Curl_dyn_add(store, op->textoid);
else else
result = CURLE_BAD_FUNCTION_ARGUMENT; result = Curl_dyn_add(store, Curl_dyn_ptr(&buf));
Curl_dyn_free(&buf); Curl_dyn_free(&buf);
} }
} }