-/* $OpenBSD: bn_gcd.c,v 1.24 2023/04/01 11:08:43 tb Exp $ */
+/* $OpenBSD: bn_gcd.c,v 1.25 2023/04/01 11:10:55 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
}
return (a);
-err:
+ err:
return (NULL);
}
goto err;
ret = 1;
-err:
+ err:
BN_CTX_end(ctx);
return (ret);
}
if (!bn_copy(R, A))
goto err;
ret = R;
-err:
+ err:
if ((ret == NULL) && (in == NULL))
BN_free(R);
BN_CTX_end(ctx);
}
ret = R;
-err:
+ err:
if ((ret == NULL) && (in == NULL))
BN_free(R);
BN_CTX_end(ctx);
}
ret = R;
-err:
+ err:
if ((ret == NULL) && (in == NULL))
BN_free(R);
BN_CTX_end(ctx);