X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/53080505af9e0641753909f057897b4203dd2269..e1b96d7e637cf76864013f8dba68135f07638ab8:/lisp/net/sasl.el diff --git a/lisp/net/sasl.el b/lisp/net/sasl.el index 7f864390a5..a5efdd620e 100644 --- a/lisp/net/sasl.el +++ b/lisp/net/sasl.el @@ -1,6 +1,6 @@ ;;; sasl.el --- SASL client framework -;; Copyright (C) 2000, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +;; Copyright (C) 2000, 2007-2013 Free Software Foundation, Inc. ;; Author: Daiki Ueno ;; Keywords: SASL @@ -183,7 +183,7 @@ It contain at least 64 bits of entropy." ;; Don't use microseconds from (current-time), they may be unsupported. ;; Instead we use this randomly inited counter. (setq sasl-unique-id-char - (% (1+ (or sasl-unique-id-char (logand (random t) (1- (lsh 1 20))))) + (% (1+ (or sasl-unique-id-char (logand (random) (1- (lsh 1 20))))) ;; (current-time) returns 16-bit ints, ;; and 2^16*25 just fits into 4 digits i base 36. (* 25 25)))