Skip to content
Snippets Groups Projects
Commit aa926202 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

7.4:Crypto: Fix AutoDoc markup for the compat hashes.

Use the feature that the AutoDoc extractor now knows about
_module_value to get the classes documented as such (and
not as modules).
parent 1db5b3ec
No related branches found
No related tags found
No related merge requests found
#pike 7.5 #pike 7.5
#if constant(Nettle.MD2)
inherit Nettle.MD2;
//! This is the Pike 7.4 compatibility implementation of the MD2 hash algorithm. //! This is the Pike 7.4 compatibility implementation of the MD2 hash algorithm.
//! //!
//! @deprecated Crypto.MD2 //! @deprecated Crypto.MD2
class _module_value {
#if constant(Nettle.MD2)
//! @ignore //! @ignore
inherit Nettle.MD2;
constant _module_value = class {
inherit MD2::State; inherit MD2::State;
//! @endignore //! @endignore
...@@ -23,8 +23,5 @@ constant _module_value = class { ...@@ -23,8 +23,5 @@ constant _module_value = class {
//! //!
string name() { return "MD2"; } string name() { return "MD2"; }
}
//! @ignore
};
//! @endignore
#endif #endif
#pike 7.5 #pike 7.5
#if constant(Nettle.MD4)
inherit Nettle.MD4;
//! This is the Pike 7.4 compatibility implementation of the MD4 hash algorithm. //! This is the Pike 7.4 compatibility implementation of the MD4 hash algorithm.
//! //!
//! @deprecated Crypto.MD4 //! @deprecated Crypto.MD4
class _module_value {
#if constant(Nettle.MD4)
//! @ignore //! @ignore
inherit Nettle.MD4;
constant _module_value = class {
inherit MD4::State; inherit MD4::State;
//! @endignore //! @endignore
...@@ -23,8 +23,5 @@ constant _module_value = class { ...@@ -23,8 +23,5 @@ constant _module_value = class {
//! //!
string name() { return "MD4"; } string name() { return "MD4"; }
}
//! @ignore
};
//! @endignore
#endif #endif
#pike 7.5 #pike 7.5
#if constant(Nettle.MD5)
inherit Nettle.MD5;
//! This is the Pike 7.4 compatibility implementation of the MD5 hash algorithm. //! This is the Pike 7.4 compatibility implementation of the MD5 hash algorithm.
//! //!
//! @deprecated Crypto.MD5 //! @deprecated Crypto.MD5
class _module_value {
#if constant(Nettle.MD5)
//! @ignore //! @ignore
inherit Nettle.MD5;
constant _module_value = class {
inherit MD5::State; inherit MD5::State;
//! @endignore //! @endignore
...@@ -23,8 +23,5 @@ constant _module_value = class { ...@@ -23,8 +23,5 @@ constant _module_value = class {
//! //!
string name() { return "MD5"; } string name() { return "MD5"; }
}
//! @ignore
};
//! @endignore
#endif #endif
#pike 7.5 #pike 7.5
#if constant(Nettle.SHA1)
inherit Nettle.SHA1;
//! This is the Pike 7.4 compatibility implementation of //! This is the Pike 7.4 compatibility implementation of
//! the SHA1 hash algorithm. //! the SHA1 hash algorithm.
//! //!
//! @deprecated Crypto.SHA1 //! @deprecated Crypto.SHA1
class _module_value {
#if constant(Nettle.SHA1)
//! @ignore //! @ignore
inherit Nettle.SHA1;
constant _module_value = class {
inherit SHA1::State; inherit SHA1::State;
//! @endignore //! @endignore
...@@ -20,8 +20,5 @@ constant _module_value = class { ...@@ -20,8 +20,5 @@ constant _module_value = class {
//! //!
string name() { return "SHA"; } string name() { return "SHA"; }
}
//! @ignore
};
//! @endignore
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment