mirror of https://github.com/openssl/openssl.git
				
				
				
			remove 'keyid:' when printing simple X509 authority keyID (without issuer and serial)
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6226)
This commit is contained in:
		
							parent
							
								
									a4c467c96a
								
							
						
					
					
						commit
						86afd005fb
					
				|  | @ -42,7 +42,7 @@ static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_KEYID(X509V3_EXT_METHOD *method, | ||||||
|     char *tmp; |     char *tmp; | ||||||
|     if (akeyid->keyid) { |     if (akeyid->keyid) { | ||||||
|         tmp = OPENSSL_buf2hexstr(akeyid->keyid->data, akeyid->keyid->length); |         tmp = OPENSSL_buf2hexstr(akeyid->keyid->data, akeyid->keyid->length); | ||||||
|         X509V3_add_value("keyid", tmp, &extlist); |         X509V3_add_value((akeyid->issuer || akeyid->serial) ? "keyid" : NULL, tmp, &extlist); | ||||||
|         OPENSSL_free(tmp); |         OPENSSL_free(tmp); | ||||||
|     } |     } | ||||||
|     if (akeyid->issuer) |     if (akeyid->issuer) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue