diff --git a/netwerk/base/public/nsIRandomGenerator.idl b/netwerk/base/public/nsIRandomGenerator.idl index 168c4a4eaf1b..f4ca715e46ba 100644 --- a/netwerk/base/public/nsIRandomGenerator.idl +++ b/netwerk/base/public/nsIRandomGenerator.idl @@ -14,7 +14,7 @@ * The Original Code is mozilla.org code. * * The Initial Developer of the Original Code is - * Mozilla Corporation. + * the Mozilla Foundation. * Portions created by the Initial Developer are Copyright (C) 2007 * the Initial Developer. All Rights Reserved. * @@ -37,6 +37,11 @@ #include "nsISupports.idl" +/** + * Interface used to generate random data. + * + * @threadsafe + */ [scriptable, uuid(2362d97a-747a-4576-8863-697667309209)] interface nsIRandomGenerator : nsISupports { /** diff --git a/security/manager/ssl/src/nsRandomGenerator.cpp b/security/manager/ssl/src/nsRandomGenerator.cpp index 049944c8152d..faf54df0f99a 100644 --- a/security/manager/ssl/src/nsRandomGenerator.cpp +++ b/security/manager/ssl/src/nsRandomGenerator.cpp @@ -14,7 +14,7 @@ * The Original Code is mozilla.org code. * * The Initial Developer of the Original Code is - * Mozilla Corporation. + * the Mozilla Foundation. * Portions created by the Initial Developer are Copyright (C) 2007 * the Initial Developer. All Rights Reserved. * @@ -41,7 +41,7 @@ //////////////////////////////////////////////////////////////////////////////// //// nsRandomGenerator -NS_IMPL_ISUPPORTS1(nsRandomGenerator, nsIRandomGenerator) +NS_IMPL_THREADSAFE_ISUPPORTS1(nsRandomGenerator, nsIRandomGenerator) //////////////////////////////////////////////////////////////////////////////// //// nsIRandomGenerator