Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/include/sessionauth.global.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2427 by niro, Thu Sep 3 08:02:10 2015 UTC revision 2428 by niro, Thu Sep 3 08:15:59 2015 UTC
# Line 109  validate_auth_certificate() Line 109  validate_auth_certificate()
109   return 1   return 1
110   fi   fi
111    
112   key_fingerprint=$(openssl rsa -noout -modulus -in "${MCORE_KEY_FILE}" | openssl sha1 | sed 's:(stdin)=\ ::')   key_fingerprint="$(key_fingerprint)"
113    
114   if [[ ${cert_fingerprint} == ${key_fingerprint} ]]   if [[ ${cert_fingerprint} == ${key_fingerprint} ]]
115   then   then

Legend:
Removed from v.2427  
changed lines
  Added in v.2428