mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 11:38:09 +00:00
Added missing x509write_crt_set_version()
This commit is contained in:
parent
b7c13123de
commit
5191e92ecc
2 changed files with 6 additions and 0 deletions
|
@ -16,6 +16,7 @@ Bugfix
|
|||
* Possible naming collision in dhm_context
|
||||
* Better support for MSVC
|
||||
* threading_set_alt() name
|
||||
* Added missing x509write_crt_set_version()
|
||||
|
||||
= PolarSSL-1.3.0 released on 2013-10-01
|
||||
Features
|
||||
|
|
|
@ -61,6 +61,11 @@ void x509write_crt_free( x509write_cert *ctx )
|
|||
memset( ctx, 0, sizeof(x509write_cert) );
|
||||
}
|
||||
|
||||
void x509write_crt_set_version( x509write_cert *ctx, int version )
|
||||
{
|
||||
ctx->version = version;
|
||||
}
|
||||
|
||||
void x509write_crt_set_md_alg( x509write_cert *ctx, md_type_t md_alg )
|
||||
{
|
||||
ctx->md_alg = md_alg;
|
||||
|
|
Loading…
Reference in a new issue