]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - include/openssl/srp.h
Deprecate the low level Diffie-Hellman functions.
[thirdparty/openssl.git] / include / openssl / srp.h
index 86fe6f49406cfe69a49738b61fb1b17750dce661..9f6f1b86440bfb3c07385ac3793c3eb7ad79981b 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright 2004-2018 The OpenSSL Project Authors. All Rights Reserved.
  * Copyright (c) 2004, EdelKey Project. All Rights Reserved.
  *
- * Licensed under the OpenSSL license (the "License").  You may not use
+ * 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
  * in the file LICENSE in the source distribution or at
  * https://www.openssl.org/source/license.html
  * for the EdelKey project.
  */
 
-#ifndef HEADER_SRP_H
-# define HEADER_SRP_H
+#ifndef OPENSSL_SRP_H
+# define OPENSSL_SRP_H
+# pragma once
+
+# include <openssl/macros.h>
+# ifndef OPENSSL_NO_DEPRECATED_3_0
+#  define HEADER_SRP_H
+# endif
 
 #include <openssl/opensslconf.h>