* smime.el (smime-cert-by-ldap-1): Detect PEM format without
header by looking for magic "MII" at the beginnig.
+2005-06-16 Arne J\e,Ax\e(Brgensen <arne@arnested.dk>
+
+ * smime.el (smime-cert-by-ldap-1): Detect PEM format without
+ header by looking for magic "MII" at the beginnig.
+
2005-06-16 Miles Bader <miles@gnu.org>
* gnus-xmas.el (gnus-xmas-group-startup-message):
;; header/footer) so we try to handle them anyway.
(if (or (string= (substring (cadaar ldapresult) 0 27)
"-----BEGIN CERTIFICATE-----")
- (condition-case nil
- (base64-decode-string (cadaar ldapresult))
- (error nil)))
+ (string= (substring (cadaar ldapresult) 0 3)
+ "MII"))
(setq cert
(smime-replace-in-string
(cadaar ldapresult)