/*********************************************************
- * Copyright (C) 2011-2016 VMware, Inc. All rights reserved.
+ * Copyright (C) 2011-2016, 2020 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
#include <glib.h>
#include "VGAuthAuthentication.h"
+#include "openssl/opensslv.h" // For OPENSSL_VERSION_NUMBER.
/* new API from OpenSSL 1.1.0
* https://www.openssl.org/docs/manmaster/crypto/EVP_DigestInit.html
/*********************************************************
- * Copyright (C) 2012-2017,2019 VMware, Inc. All rights reserved.
+ * Copyright (C) 2012-2017, 2019-2020 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
*userHandle = NULL;
/*
- * ValidateSAMLBeraerToken has no security restrictions, so we don't care
+ * ValidateSAMLBearerToken has no security restrictions, so we don't care
* what user is used.
*/
if (!VGAuth_IsConnectedToServiceAsAnyUser(ctx)) {
*/
ret = xmlSecCryptoAppKeysMngrCertLoadMemory(mgr,
pemCert,
- strlen(pemCert),
+ (xmlSecSize) strlen(pemCert),
xmlSecKeyDataFormatPem,
xmlSecKeyDataTypeTrusted);
if (ret < 0) {