We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
true
TRUE
1 parent 1bb2248 commit cf5926fCopy full SHA for cf5926f
1 file changed
ext/openssl/openssl.c
@@ -4614,7 +4614,7 @@ PHP_FUNCTION(openssl_oid_lookup)
4614
4615
if (OBJ_obj2txt(buf, sizeof(buf)-1, obj, 1) > 0 && *buf != '\0') {
4616
add_assoc_string(return_value, "oid", buf);
4617
- found = TRUE;
+ found = true;
4618
}
4619
4620
if ((nid = OBJ_obj2nid(obj)) != NID_undef) {
@@ -4624,13 +4624,13 @@ PHP_FUNCTION(openssl_oid_lookup)
4624
l = OBJ_nid2ln(nid);
4625
if (l != NULL) {
4626
add_assoc_string(return_value, "lname", (char *) l);
4627
4628
4629
4630
s = OBJ_nid2sn(nid);
4631
if (s != NULL) {
4632
add_assoc_string(return_value, "sname", (char *) s);
4633
4634
4635
4636
ASN1_OBJECT_free(obj);
0 commit comments