@@ -1865,7 +1865,7 @@ impl X509Crl {
1865
1865
) ) ?;
1866
1866
1867
1867
cfg_if ! (
1868
- if #[ cfg( any( ossl110, libressl270) ) ] {
1868
+ if #[ cfg( any( ossl110, libressl270, boringssl ) ) ] {
1869
1869
cvt( ffi:: X509_CRL_set1_lastUpdate ( crl. as_ptr( ) , Asn1Time :: now( ) ?. as_ptr( ) ) ) . map( |_| ( ) ) ?
1870
1870
} else {
1871
1871
cvt( ffi:: X509_CRL_set_lastUpdate ( crl. as_ptr( ) , Asn1Time :: now( ) ?. as_ptr( ) ) ) . map( |_| ( ) ) ?
@@ -1880,7 +1880,7 @@ impl X509Crl {
1880
1880
pub fn set_last_update ( & mut self , seconds_from_now : Option < i32 > ) -> Result < ( ) , ErrorStack > {
1881
1881
let time = Asn1Time :: seconds_from_now ( seconds_from_now. unwrap_or ( 0 ) as c_long ) ?;
1882
1882
cfg_if ! (
1883
- if #[ cfg( any( ossl110, libressl270) ) ] {
1883
+ if #[ cfg( any( ossl110, libressl270, boringssl ) ) ] {
1884
1884
unsafe {
1885
1885
cvt( ffi:: X509_CRL_set1_lastUpdate ( self . as_ptr( ) , time. as_ptr( ) ) ) . map( |_| ( ) ) ?
1886
1886
} ;
@@ -1897,7 +1897,7 @@ impl X509Crl {
1897
1897
// Note: u32 seconds is more than enough for this;
1898
1898
pub fn set_next_update_from_now ( & mut self , seconds_from_now : u32 ) -> Result < ( ) , ErrorStack > {
1899
1899
cfg_if ! (
1900
- if #[ cfg( any( ossl110, libressl270) ) ] {
1900
+ if #[ cfg( any( ossl110, libressl270, boringssl ) ) ] {
1901
1901
unsafe {
1902
1902
cvt( ffi:: X509_CRL_set1_nextUpdate (
1903
1903
self . as_ptr( ) ,
0 commit comments