&issuer_signed_data);
if (result < 0) {
gnutls_assert();
- goto cleanup;
+ goto fail;
}
result =
&cert_signed_data);
if (result < 0) {
gnutls_assert();
- goto cleanup;
+ goto fail;
}
result =
&issuer_signature);
if (result < 0) {
gnutls_assert();
- goto cleanup;
+ goto fail;
}
result =
&cert_signature);
if (result < 0) {
gnutls_assert();
- goto cleanup;
+ goto fail;
}
/* If the subject certificate is the same as the issuer
} else
gnutls_assert();
+ fail:
result = 0;
- cleanup:
+ cleanup:
_gnutls_free_datum(&cert_signed_data);
_gnutls_free_datum(&issuer_signed_data);
_gnutls_free_datum(&cert_signature);