Commit 75cec0c4 authored by Steven Fackler's avatar Steven Fackler
Browse files

move constants to cfg'd area

parent 15699ad2
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -2,12 +2,12 @@ use libc::*;
use std::ptr;
use *;

cfg_if! {
    if #[cfg(not(osslconf = "OPENSSL_NO_DEPRECATED_3_0"))] {
        pub type SHA_LONG = c_uint;

        pub const SHA_LBLOCK: c_int = 16;

cfg_if! {
    if #[cfg(not(osslconf = "OPENSSL_NO_DEPRECATED_3_0"))] {
        #[repr(C)]
        #[derive(Clone)]
        pub struct SHA_CTX {