Latest update (add quic)
This commit is contained in:
+2
-3
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* 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
|
||||
@@ -71,9 +71,8 @@ static void ui_new_method_data(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
|
||||
}
|
||||
|
||||
static int ui_dup_method_data(CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from,
|
||||
void *from_d, int idx, long argl, void *argp)
|
||||
void **pptr, int idx, long argl, void *argp)
|
||||
{
|
||||
void **pptr = (void **)from_d;
|
||||
if (*pptr != NULL)
|
||||
*pptr = OPENSSL_memdup(*pptr, sizeof(struct pem_password_cb_data));
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user