Changeset View
Changeset View
Standalone View
Standalone View
crypto/dsa/dsa_sign.c
/* | /* | ||||
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. | * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved. | ||||
* | * | ||||
* Licensed under the Apache License 2.0 (the "License"). You may not use | * Licensed under the Apache License 2.0 (the "License"). You may not use | ||||
* this file except in compliance with the License. You can obtain a copy | * this file except in compliance with the License. You can obtain a copy | ||||
Context not available. | |||||
*siglen = 0; | *siglen = 0; | ||||
return 0; | return 0; | ||||
} | } | ||||
*siglen = i2d_DSA_SIG(s, &sig); | *siglen = i2d_DSA_SIG(s, sig != NULL ? &sig : NULL); | ||||
DSA_SIG_free(s); | DSA_SIG_free(s); | ||||
return 1; | return 1; | ||||
} | } | ||||
Context not available. |