/*********************************************************
- * Copyright (C) 2003-2022 VMware, Inc. All rights reserved.
+ * Copyright (C) 2003-2023 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
ASSERT(asock);
if (sslContext == NULL) {
- sslContext = SSL_DefaultContext();
+ sslContext = SSL_DefaultClientContext();
}
return SSL_ConnectAndVerifyWithContext(asock->sslSock, verifyParam,