OSSL_STORE_ctrl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

OSSL_STORE_ctrl

Norm Green
In 1.1.1 pre-relase 1, we have this new function:

int OSSL_STORE_ctrl(OSSL_STORE_CTX *ctx, int cmd, ... /* args */);

Would it be possible to add a version that takes va_args like this?

int OSSL_STORE_vctrl(OSSL_STORE_CTX *ctx, int cmd, va_list args);

OpenSSL already have this precedent in other places, such as with
BIO_printf() / BIO_vprintf()

Norm

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: OSSL_STORE_ctrl

Richard Levitte - VMS Whacker-2
In message <[hidden email]> on Tue, 13 Feb 2018 19:58:34 -0800, Norm Green <[hidden email]> said:

norm.green> In 1.1.1 pre-relase 1, we have this new function:
norm.green>
norm.green> int OSSL_STORE_ctrl(OSSL_STORE_CTX *ctx, int cmd, ... /* args */);
norm.green>
norm.green> Would it be possible to add a version that takes va_args like this?
norm.green>
norm.green> int OSSL_STORE_vctrl(OSSL_STORE_CTX *ctx, int cmd, va_list args);
norm.green>
norm.green> OpenSSL already have this precedent in other places, such as with
norm.green> BIO_printf() / BIO_vprintf()

Good idea, that can certainly be done.

--
Richard Levitte         [hidden email]
OpenSSL Project         http://www.openssl.org/~levitte/
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users